{extends file="layout.tpl"}

{block name=body}

{if $answer == 'ok'}
	<p><a href="{$url}">{$url}</a> was successfully uploaded!</p>
	<input type="text" value="{$url}" />
{else}

	{if $answer == 'nofile'}
	No file submitted.
	{elseif $answer == 'bad_type'}
	Don't try to fuck with me with your .php, bastard!
	{elseif $answer == 'too_big'}
	Your file is waaaay too big... Try to make him run.
	{elseif $answer == 'ghost_file'}
	Your file is not a file. It's a ghost file.
	{elseif $answer == 'unknown_error'}
	Something went wrong... I don't know why.
	{/if} You're fucked up. Contact JT for further information. 

{/if}

<p><a href="index">Upload another file </a></p>

{/block}


